import App from './App'
import uView from '@/uni_modules/uview-ui'
import Helper from '@/utils/helper.js';
import Api from '@/api/index.js'
import Auth from '@/utils/auth.js'
import store from './store';
import share from "common/js/share.mixin.js"
// #ifndef VUE3
import Vue from 'vue'
Vue.use(uView)
Vue.config.productionTip = false
Vue.prototype.$helper = Helper;
Vue.prototype.$api = Api;
Vue.prototype.$auth = Auth;
Vue.mixin(share);
App.mpType = 'app';
const app = new Vue({
	...App,
	store
})
app.$mount()
// #endif

// #ifdef VUE3
import {
	createSSRApp
} from 'vue'
export function createApp() {
	const app = createSSRApp(App)
	return {
		app
	}
}
// #endif
